package com.xiaoqiudong.forum.common.utils;

import java.util.UUID;

/**
 * Created with IntelliJ IDEA
 * Descroption
 * User:dell
 * Date:2025-08-23
 * Time:9:48
 */
public class UUIDUtils {

    /**
     * 生成UUID（32）,去除 - 连接字符
     * @return
     */
    public static String UUID_32(){
        return UUID.randomUUID().toString().replace("-","");
    }

    /**
     * 36位UUID
     * @return
     */
    public static String UUID_36(){
        return UUID.randomUUID().toString();
    }

}
